package com.example.xiaoshuo_yudu.entity.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 章节表元数据表
 * </p>
 *
 * @author xusen
 * @since 2025-07-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("chapter_tables")
public class ChapterTables implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 表ID
     */
    @TableId(value = "table_id", type = IdType.AUTO)
    private Integer tableId;

    /**
     * 表名
     */
    private String tableName;

    /**
     * 关联分类ID
     */
    private Integer categoryId;

    /**
     * 表描述
     */
    private String description;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;


}
